

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1"><meta charset='utf-8'><title>

</title><link href='./home/css/etm.css' rel='stylesheet' type='text/css' /><!--[if IE 8]> <link href='/Themes/Theme3/ie8Fix.css' rel='stylesheet' /> <![endif]-->

    <script src="./home/js/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="./home/js/flexigrid.js"></script>
    <script type="text/javascript" src="./home/js/jQuery.Ex.js"></script>
    <script src="./home/js/jQuery.etmTabs.js"></script>
    <meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE"/><script src='./home/js/jquery.nicescroll.min.js' type='text/javascript'></script><script type='text/javascript'>var isEtmClient=false;function ReSizeScrollbar() { if ($('form').getNiceScroll().length > 0) {     $('form').getNiceScroll().onResize();}}function ReSizeFlexgridScrollbar() { if ($('.bDiv').getNiceScroll().length > 0) {     $('.bDiv').getNiceScroll().onResize();}}function InitFlexgridScrollbar(){     $('.bDiv').niceScroll({cursorcolor: '#75A801',zindex:4});}function ReSizenDivScrollbar() { if ($('.flexigrid .nDiv').getNiceScroll().length > 0) {     $('.flexigrid .nDiv').getNiceScroll().onResize();}}function InitnDivScrollbar(){     $('.flexigrid .nDiv').niceScroll({cursorcolor: '#75A801',horizrailenabled:false});}function proxyExecuteFun(funName) {if(funName == undefined || funName==null|| funName.length==0){window.parent.showsending(true, "执行中，请耐心等待");setTimeout(function() { window.parent.showsending(false); }, 5000);return;}  if (window[funName]()) {window.parent.showsending(true, "执行中，请耐心等待");setTimeout(function() { window.parent.showsending(false); }, 5000);return true; } return false; };var _tmpOnSelectedFile = null;function onSelectedFile(fileName, fileUrl, isImg) {   if (_tmpOnSelectedFile != null) {        _tmpOnSelectedFile(fileName, fileUrl, isImg);    }}function showFileList(callback) {   window.parent.showDialog('查看素材库', '/Modules/OA/CMyFileListView.aspx?navId=e7f383a5-40ed-4580-9e88-312c33d0b5f5', '900px', '450px');   _tmpOnSelectedFile = callback;}$(function () {if (navigator.userAgent.toLowerCase().indexOf('edge/') != -1) { $('input[type=submit],.tmpSubmitButton').bind({ mouseenter: function () { $(this).addClass('tmpSubmitButton'); $(this).prop('type', 'button'); }, mouseleave: function () { $(this).removeClass('tmpSubmitButton'); $(this).prop('type', 'submit'); }, click: function () { $(this).removeClass('tmpSubmitButton'); $(this).prop('type', 'submit'); } }); }if (window.parent != undefined && window.parent != null && typeof window.parent.showsending != "undefined") { window.parent.showsending(false, ''); }$(".button").each(function() { if ($(this).attr("type") == "submit" &&!$(this).hasClass('noloading') && window.parent != undefined && window.parent != null && typeof window.parent.showsending != "undefined") { var tmpClick = $(this).attr("onclick");if(tmpClick == undefined || tmpClick==null|| tmpClick.length<2){ $(this).attr("onclick","proxyExecuteFun();");return;}  if (tmpClick.indexOf("return ") != -1 && tmpClick.indexOf("(") != -1) { tmpClick = tmpClick.substring(7).replace(/\s+/g, ''); if (tmpClick.indexOf("()") != -1) { var funName = tmpClick.substring(0, tmpClick.indexOf("(")); $(this).attr("onclick","return proxyExecuteFun('" + funName + "');"); } } } });$('body').click(function() {     if (typeof parent.onChildPageClick !='undefined') {         parent.onChildPageClick();     }});     $('form').height($(window).height()-0).niceScroll({cursorcolor: '#75A801',horizrailenabled:false });     $(window).resize(function () {         ReSizeScrollbar();     });});</script>
    <script type="text/javascript">
        $(function () {
            $("#tab").etmTabs({
                item: [
                      { Url: '../../Modules/FamilySchool/DoList.aspx?navId=e7f383a5-40ed-4580-9e88-312c33d0b5f5', Selected: true, Text: "活动管理" },
                    { Url: '../../Modules/FamilySchool/DoSignList.aspx?navId=e7f383a5-40ed-4580-9e88-312c33d0b5f5', Selected: false, Text: "活动签到" },
                    { Url: '../../Modules/FamilySchool/DoSignRecord.aspx?navId=e7f383a5-40ed-4580-9e88-312c33d0b5f5', Selected: false, Text: "活动签到记录" },
                ]
            });
        });
    </script>
    <script type="text/javascript">
        function ShowDoInfo(DoGuid) {
            window.parent.showDialog("活动查看", "../Modules/FamilySchool/DoInfo.aspx?DoGuid=" + DoGuid, "976px", "450px");
        }
        $(function () {
            $("#btnAdd").live("click", function () {
                window.parent.showDialog("添加", "../Modules/FamilySchool/DoEdit.aspx?sc=btn&navId=e7f383a5-40ed-4580-9e88-312c33d0b5f5", "976px", "450px");
            });
            $(".DoCourseDelete").live("click", function () {
                var DoCourseGuid = $(this).attr("DoCourseGuid");
                var c = confirm("确定要删除吗？");
                if (c) {
                    $.AjaxETM("K_Do_DoCourseDelete", { "DoCourseGuid": DoCourseGuid },
                        function (data) {
                            alert(data);
                        },
                         true, "text");
                }
            });
        });
        function DoAdd(DoGuid) {
            var c = confirm("确认要发布吗？【发布后家校互联用户将可以看到此活动内容】");
            if (c) {
                window.parent.showsending(true, "发布数据执行中...");
                $.AjaxETM("FamilySchool_Do_Add", { "DoGuid": DoGuid },
                    function (data) {
                        window.parent.showsending(false, "");
                        alert(data);
                    },
                     true, "text");
            }
        }
        function DoDelF(DoGuid) {
            var c = confirm("确认要撤销吗？【撤销后家校互联用户将无法看到此活动内容】");
            if (c) {
                $.AjaxETM("FamilySchool_Do_DeleteL", { "DoGuid": DoGuid },
                    function (data) {
                        alert(data);
                    },
                     true, "text");
            }
        }
        function EditDo(doguid) {
            window.parent.showDialog("修改", "../Modules/FamilySchool/DoEdit.aspx?sc=btn&navId=e7f383a5-40ed-4580-9e88-312c33d0b5f5&doguid=" + doguid + "&multiLayer=1", "976px", "450px");
        }

    </script>
</head>
<body>
    <form method="post" action="DoList.aspx?navId=e7f383a5-40ed-4580-9e88-312c33d0b5f5" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTc0NDUxNTA5NmRkwgRznTJ8z4OlRvWBHqFxPa1KDfbul9jWEw2J3zhLdsI=" />
</div>

<div class="aspNetHidden">

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="3AB075A6" />
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdAAOtpp7eDMTh11ZiJ9V6Ok0lgqMH56bjL1x2bEyMG9K9A5NcQtnKtb31hEtbT6bWJ9/gW21Nxn6nsVl8U4cuXTlHSVSTcd1g2/n1/9GPRY++cg==" />
</div>
        <div id="tab"></div>
        <table class="search">
            <tr>
                <td class="textAlignRight" style="width: 78px;">活动主题：
                </td>
                <td class="borderRight" style="width: 160px;">
                    <input name="txtDoTitle" type="text" id="txtDoTitle" class="int" />
                </td>
                <td class="borderRight" style="padding-left: 13px; width: 160px; padding-right: 12px;">
                    <input name="dostatus" type="radio" value="-1" checked="checked" />全部&nbsp;&nbsp;
                    <input name="dostatus" type="radio" value="0" />有效&nbsp;&nbsp;
                    <input name="dostatus" type="radio" value="1" />过期&nbsp;&nbsp;
                </td>
                <td style="padding-left: 20px;" colspan="3">
                    <input type="button" class="button" id="btnSearch" value="搜 索" />&nbsp;&nbsp;&nbsp;
                   
                           
              </td>
            </tr>
        </table>
        <table id='Test' style='display:none;'></table><input type='text' style='display:none;' id='etmparams' name='etmparams' value='[{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":"DoTitleAct","Display":"活动主题","Name":"DoGuid,DoTitle","Width":190,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"left","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":"DoAct","Display":"操作","Name":"DoGuid,DoStatus","Width":130,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"活动类型","Name":"DoTypeName","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":"DoTime","Display":"活动时间","Name":"StartTime,EndTime","Width":230,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"活动性质","Name":"DoProperties","Width":87,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":"DoPlace","Display":"活动地点","Name":"ClassroomGuid,Address,RoomName","Width":230,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"left","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"负责人","Name":"ManagerNames","Width":200,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"left","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"创建人","Name":"CreatorName","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"left","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":"yyyy-MM-dd HH:mm","ColumnType":"DateTime","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"录入时间","Name":"CreateTime","Width":120,"Sortable":true,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false}]'/><input type='text' style='display:none;' id='etmUrlparams' name='etmUrlparams' value='[{"Key":"navId","Value":"e7f383a5-40ed-4580-9e88-312c33d0b5f5"}]'/><input type='text' style='display:none;' id='etmPageUrl' name='etmPageUrl' value='http://vip.yj.etmcn.com/Modules/FamilySchool/DoList.aspx?navId=e7f383a5-40ed-4580-9e88-312c33d0b5f5'/><input type='text' style='display:none;' id='pagename' name='pagename' value='K_Doing_DoList'/><input type='text' style='display:none;' id='pageamethod' name='pageamethod' value='K_Doing_DoListK_Doing_DoList'/><script type='text/javascript'> var etmFormId='form1';function fixIE9() {if ($.browser.msie && $.browser.version == 9) {$('#form1 select').each(function () {var name = $(this).attr('name');if (name != undefined && name.length > 0) {var value = $(this).val();if (value == null) {value = $(this).find('option:first').attr('value');$(this).val(value);}}});}}function RefreshGrid(){ $('#Test').flexOptions().flexReload(); };function addFormData() {fixIE9(); var dt = $('#form1').serializeArray(); $('#Test').flexOptions({ params: dt }); return true; }$(function () { $('#btnSearch').click(function () { $('#Test').flexOptions({ newp: 1 }).flexReload(); return false; }); });$('#Test').flexigrid({url: './data/DoList.json',sortname: 'CreateTime',sortorder: 'desc',usepager: true,useRp: true,rpOptions: [20,30,50,100,200],rp: 30,colModel: [{ display: '活动主题', name: 'DoGuid,DoTitle',etmname:'DoTitleAct', width: 190, sortable: false, align: 'left', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '操作', name: 'DoGuid,DoStatus',etmname:'DoAct', width: 130, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '活动类型', name: 'DoTypeName',etmname:'DoTypeName', width: 100, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '活动时间', name: 'StartTime,EndTime',etmname:'DoTime', width: 230, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '活动性质', name: 'DoProperties',etmname:'DoProperties', width: 87, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '活动地点', name: 'ClassroomGuid,Address,RoomName',etmname:'DoPlace', width: 230, sortable: false, align: 'left', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '负责人', name: 'ManagerNames',etmname:'ManagerNames', width: 200, sortable: false, align: 'left', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '创建人', name: 'CreatorName',etmname:'CreatorName', width: 100, sortable: false, align: 'left', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '录入时间', name: 'CreateTime',etmname:'CreateTime', width: 120, sortable: true, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'yyyy-MM-dd HH:mm',ColumnType:'DateTime',IsJsAddColumn:false}],width: $(window).width(),height: $(window).height()-255+60,onSubmit: addFormData});</script>
        <div style="margin-left: 20px;"><input type="submit" name="btnAdd" value="添 加" onclick="return false;" id="btnAdd" class="button" /></div>
    </form>
</body>
</html>
